package com.sky.service;

import com.sky.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.Map;

/**
 * 数据统计
 * @author wzplove
 */
public interface ReportService {

    //营业额统计
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    //用户统计
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    //订单统计
    OrderReportVO getOrdersStatistics(LocalDate begin, LocalDate end);

    //销量排名
    SalesTop10ReportVO getTop10(LocalDate begin, LocalDate end);

    //导出数据
    void exportBusinessData(HttpServletResponse response);
}
